<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>

<!DOCTYPE html>
<html lang="zh-CN">
	<head>
	    <%@ include file="../common.jsp" %>
	    <title>登录</title>
	    <link href="${path }/static/css/signin.css" rel="stylesheet">
  </head>

  <body>

    <div class="container">
		<h2 class="form-signin-heading" style="
		    color: #fff;
		    text-shadow: 0 1px 0 #cccccc, 0 2px 0 #c9c9c9, 0 3px 0 #bbbbbb, 0 4px 0 #b9b9b9, 0 5px 0 #aaaaaa, 0 6px 1px rgba(0, 0, 0, 0.1), 0 0 5px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.3), 0 3px 5px rgba(0, 0, 0, 0.2), 0 5px 10px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.2), 0 20px 20px rgba(0, 0, 0, 0.15);
		    -webkit-transition: .2s all linear;
		    font-size: 3em;
		    text-align: center;
		    font-weight: bold;
		">Wi-Fi数据分析系统</h2>
      <form id="loginForm" class="form-signin" method="POST" action='${path }/user/doLogin?referer=<%=request.getParameter("referer") %>'>
        <label for="inputEmail" class="sr-only">用户名</label>
        <input type="text" name="username" class="form-control" placeholder="Email" required="" autofocus="" value="admin">
        <label for="inputPassword" class="sr-only">密码</label>
        <input type="password" name="password" class="form-control" placeholder="密码" required=""  value="admin">
        <div class="checkbox">
          <label>
            <input type="checkbox" value="rewalker-me">保持登录一周
          </label>
        </div>
        <p>${msg }</p>
        <button class="btn btn-lg btn-primary btn-block" type="submit">登录</button>
        <a class="btn btn-lg btn-primary btn-block" href="#${path }/user/reg" disabled title="暂时不提供注册！">免费注册</a>
      </form>

    </div> <!-- /container -->
    
    <div style="position:absolute;left:0px;top:0px;width:100%;height:100%;z-index: -1;">  
		<img src="../static/img/login_bg.jpg" width="100%" height="100%" >
	</div>
</body></html>